import java.util.Scanner;

public class Work3 {
    public static void main(String[] args) {
        int[] arr = {1,2,3,4,5,6,7,8,9};
        for (int i =0; i<10;i++){
            System.out.println("*");
        }
        for (int j = 0;j<arr.length;j++){
            for (int x = 8;x>=0;x--){
                System.out.println(arr[j]+"*"+arr[x]+"="+arr[j]*arr[x]);
            }
        }
    }
}
